package com.lostreseditores.sabersai.dataaccess.dao;

import java.util.List;

import com.lostreseditores.sabersai.model.Asignaturaxexamen;


public interface IAsignaturaxexamenDAO {
    public void save(Asignaturaxexamen instance);

    public void delete(Asignaturaxexamen instance);

    public void update(Asignaturaxexamen instance);

    public Asignaturaxexamen findById(Integer id);

    public List<Asignaturaxexamen> findByExample(Asignaturaxexamen instance);

    public List<Asignaturaxexamen> findByProperty(String propertyName,
        Object value);

    public List<Asignaturaxexamen> findAll();

    public List<Asignaturaxexamen> findByCriteria(String whereCondition);

    public List<Asignaturaxexamen> findPageAsignaturaxexamen(
        String sortColumnName, boolean sortAscending, int startRow,
        int maxResults);

    public Long findTotalNumberAsignaturaxexamen();

    public List<Asignaturaxexamen> findByAsigxexamidn(Object asigxexamidn);

    public List<Asignaturaxexamen> findByAsigxexamordn(Object asigxexamordn);

    public List<Asignaturaxexamen> findByAsigxexampregn(Object asigxexampregn);
    
    public Integer numeroDePreguntasPorSesion(Integer examidn);
}
